package com.shanyu.wechat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName(value = "jiandaoyun", autoResultMap = true)
@Accessors(chain = true)
public class JianDaoYunEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String phone;
    private String area;
    //联系人
    private String man;

    private String message;
    private String receiveTime;
    //线索提供人 微信消息发起人
    private String fromUser;
    //线索受理人 说收到的人
    private String toUser;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer isMatch;

    private String sendShouDao;
    private String sendMsg;
}
